﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OAuthAccess
{
    /// <summary>
    ///  TokenBase is the abstract base class of all tokens.
    /// </summary>
    public abstract class TokenBase
    {
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="token">Token</param>
        /// <param name="tokenSecret">Token Secret</param>
        internal TokenBase(string token, string tokenSecret)
        {
            Token = token;
            TokenSecret = tokenSecret;
        }

        /// <summary>
        /// Gets the string of Token.
        /// </summary>
        public string Token
        {
            get;
            private set;
        }

        /// <summary>
        /// Gets the string of Token Secret.
        /// </summary>
        public string TokenSecret
        {
            get;
            private set;
        }
    }
}
